// 定义与 Topic 有关的规则

const mongoose = require('mongoose');

// 创建一个规则 ( 类似于指定表中的表结构 )
const studentSchema = new mongoose.Schema({
    title: { type: String, default: '' },
    content: { type: String, default: '' },
    issueTime: { type: Date, default: null },
    author: { type: String, default: '' }
}, {
    versionKey: false
});

module.exports = studentSchema;